Site Search Applet version 1.2.1
Author: Patrik Lundin , patrik.lundin@ebox.tninet.se , http://user.tninet.se/~jml288p/
Description
The Applet
Usage
Parameters
Important Notes
Trouble Shooting
License
Description :
This applet searches a website for keywords by parsing and following links on the site.
Write search words in the search field, separate several search words with a colon or space,
press search. When the applet indicates it is finished ( look at the top of the applet )
double click on any of the links to go to that page.

The applet is extremely configurable, you can change all the colors and the texts displayed.
You can also specify the target for where the links should load when double clicked on
and various other features, look at the list of parameters.

The Applet
You can testsearch any word or phrase on this page.
Usage :

Copy the class file Search.class into your webdirectory and then
put an applet tag like this one on your page :

<APPLET CODE="Search.class" WIDTH=325 HEIGHT=171>
<param name=firstpage value=index.html>
<param name=targetname value="_top">
<param name=maxhits value=30>
</APPLET>

Important Notes :
For security reasons a Java Applet can only make connections back to it's own origin
therefore links outside the domain the applet resides on will not be searched.

The applet has not been tested through a firewall.

The applet will look different in IE 3.0 and some of the layout/color parameters
will not work because of poor Java support in the IE 3.0 browser.
The applet works fine in Netscape 3.x and higher, Internet Explorer 4.x and higher.

Trouble Shooting :
Some of these errors are shown on the statusbar in
Netscape and in InternetExplorer.

The browser gives a "Class not found error"
Make sure the class is in the right directory, should be the
same directory as the page containing the applet tag.
Also make sure the class name is correct,
it should be exactly Search.class ( note the capital 'S' ).

The browser says something like "Class Format Error: bad magic number"
or it says something about a pool

The class file is corrupted, probably because it was uploaded through ftp
as an ascii file. Make sure you upload the class file as a binary file.

The applet doesn't seem to follow links
Make sure the "firstpage" parameter points to a file containing the
links you want the applet to follow. Note that the applet doesn't follow
external links ( links outside the domain where the applet resides )

The applet doesn't seem to follow links when it is run
locally on my harddrive or cd-rom

Make sure the applet ( the class file and the page that uses it ) is in the root
of the files it should search also make sure the "firstpage" parameter points to a
file with links in it, this file should also be in the root of the files it links to.

When I change a parameter the applet doesn't seem to care
Not all browsers let you change the parameters when the applet already is started,
restart your browser to make it reflect the changes.
Also read the note about IE 3.0 in the "important notes" section.

I changed a page but I can't seem to search for the changes
The browser has probably cached your page, restart the browser or
clear the cache if possible in your browser. You might also want to check
the cache settings in your browser.

 
License
For Version 1.2.1, $20 USD or 160 SEK after 10 days trial.
Mail me for payment instructions, patrik.lundin@ebox.tninet.se
thoose who pay the license fee will be notified of changes, new releases and fixes.
Fixes will be available to paying customers for free, new versions will
be available to discount prices.